#ifndef _HAVE_VERBS_H
#define _HAVE_VERBS_H

#include <stddef.h>

typedef int (* verb_dispatcher)(const int argc, char* const* argv);

typedef struct {
    const char *name;
    const verb_dispatcher dispatcher;
} Verb;

const Verb* verbs_find_verb(const char* name, const Verb verbs[]);

extern const Verb ALL_VERBS[];

#endif
